//**********************************************************
//    File Name: ClientSummary.cs
//    Author: Team Motif
//    Date Created : 04/13/2007
//    Current Owner: Team Motif 
//                                                                            
//    Purpose: 
//    This class provides the functions needed to create, update, access, and delete a 
//    client's summary details - the details contained in the client summary report 
//    provided by DSHS to EHNW.
//
//	  Copyright 2007
//**********************************************************

using System;
using System.Collections.Generic;
using System.Text;

namespace Library
{
    public class ClientSummary
    {
        /// <summary>
        /// -------------------------------------------------------------------------------
        /// Constructor for the ClientSummary class
        /// -------------------------------------------------------------------------------
        /// </summary>
        public ClientSummary()
        {
            mDateCreated = new DateTime();
            mDateCreated = DateTime.Now;
        }

        /// <summary>
        /// -------------------------------------------------------------------------------
        /// Sets the summary data
        /// -------------------------------------------------------------------------------
        /// </summary>
        /// <param name="summary"></param>
        public void SetSummaryData(String summary)
        {
            mSummaryData = summary;
            mDateModified = new DateTime();
            mDateModified = DateTime.Now;
        }

        /// <summary>
        /// -------------------------------------------------------------------------------
        /// Returns the last modified date/time
        /// -------------------------------------------------------------------------------
        /// </summary>
        /// <returns></returns>
        public DateTime GetTimeLastModified()
        {
            return mDateModified;
        }

        /// <summary>
        /// -------------------------------------------------------------------------------
        /// Returns the summary data
        /// -------------------------------------------------------------------------------
        /// </summary>
        /// <returns></returns>
        public String GetSummaryData()
        {
            return mSummaryData;
        }

        /// <summary>
        /// -------------------------------------------------------------------------------
        /// Returns the creation time.
        /// -------------------------------------------------------------------------------
        /// </summary>
        /// <returns></returns>
        public DateTime GetTimeCreated()
        {
            return mDateCreated;
        }

        // -------------------------------------------------------------------------------
        // Private data region.
        // -------------------------------------------------------------------------------
        String mSummaryData;
        DateTime mDateCreated;
        DateTime mDateModified;
    }
}
